import request from '@/utils/request';


export function listData(query) {
  return request({
    url: `/badge/user${query}`,
    method: 'get',
  });
}

export function listTypeData(query) {
    return request({
      url: `/badge/type${query}`,
      method: 'get',
    });
  }